package com.nami.conver.infra.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.nami.conver.infra.orm.model.ConversationDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 会话 Mapper 接口
 * </p>
 *
 * @author lbc
 * @since 2023-08-01
 */
@Mapper
public interface ConversationMapper extends BaseMapper<ConversationDO> {

    /**
     * batch
     *
     * @param list
     * @return
     */
    int batchUpdGrpConvers(List<ConversationDO> list);

    /**
     * insertOrUpd
     *
     * @param conver
     * @return
     */
    boolean insertOrUpd(ConversationDO conver);

}
